package com.study.mike.model.po;

import com.study.mike.common.enums.EnumGender;
import lombok.Data;

/**
 * @author KangHui
 * @Date 2022/12/19 16:42
 */
@Data
public class QueryCatPO {
    /**
     * 名字
     */
    private String catName;

    /**
     * 昵称
     */
    private String nickName;

    /**
     * 性别
     */
    private EnumGender gender;

    /**
     * 品种
     */
    private String breed;

    public Integer getPageCurrent() {
        return pageCurrent = pageCurrent == null ? 1 : pageCurrent;
    }

    public void setPageCurrent(Integer pageCurrent) {
        this.pageCurrent = pageCurrent;
    }

    public Integer getPageSize() {
        return pageSize = pageSize == null ? 10 : pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    /**
     * 当前页
     */
    private Integer pageCurrent;

    /**
     * 每页大小
     */
    private Integer pageSize;

}
